# $Id: PKGBUILD 71762 2012-06-02 10:29:52Z bluewind $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perl-data-structure-util
pkgver=0.15
pkgrel=6
pkgdesc="Perl/CPAN Module Data::Structure::Util"
arch=("i686" "x86_64")
url="http://search.cpan.org/dist/Data-Structure-Util"
license=("GPL" "PerlArtistic")
source=("http://search.cpan.org/CPAN/authors/id/A/AN/ANDYA/Data-Structure-Util-$pkgver.tar.gz")
md5sums=('e12ba777c0abfbd79a131de28d542359')

build() {
  cd $srcdir/Data-Structure-Util-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
